package com.wonder.app.domain;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_qing_pur_in_detail")
@ApiModel(value="t_qing_pur_in_detail", description="采购入库详情表")
public class QingPurInDetail extends Model<QingPurInDetail> {

    @TableId(value ="id", type = IdType.AUTO)
    @ApiModelProperty(name = "id" , value = "编号")
    private Long id;

    @TableField(value ="LinkId" )
    @ApiModelProperty(name = "LinkId" , value = "关联主键")
    private String  LinkId;

    @TableField(value = "PurBillNo")
    @ApiModelProperty(name = "PurBillNo" , value = "采购订单号")
    private String PurBillNo;

    @TableField(value = "MoBillNo")
    @ApiModelProperty(name = "MoBillNo" , value = "生产订单号")
    private String MoBillNo;

    @TableField(value = "MaterialNo")
    @ApiModelProperty(name = "MaterialNo" , value = "物料编码")
    private String MaterialNo;

    @TableField(value = "MaterialName")
    @ApiModelProperty(name = "MaterialName" , value = "物料名称")
    private String MaterialName;

    @TableField(value = "Specification")
    @ApiModelProperty(name = "Specification" , value = "规格")
    private String Specification;

    @TableField(value = "Qty")
    @ApiModelProperty(name = "Qty" , value = "实收数量")
    private Double Qty;


    @TableField(value = "UnitNo")
    @ApiModelProperty(name = "UnitNo" , value = "单位编码")
    private String UnitNo;

    @TableField(value = "UnitName")
    @ApiModelProperty(name = "UnitName" , value = "单位名称")
    private String UnitName;

    @TableField(value = "Stock")
    @ApiModelProperty(name = "Stock" , value = "仓库")
    private String Stock;

    @TableField(value = "")
    @ApiModelProperty(name = "Location" , value = "仓位")
    private String Location;

    @TableField(value = "Lot")
    @ApiModelProperty(name = "Lot" , value = "批号")
    private String Lot;

    @TableField(value = "Remark")
    @ApiModelProperty(name = "Remark" , value = "备注")
    private String Remark;

}
